#pragma once

#include "BaseDlg.h"
#include "ui_TCPServerDlg.h"

class TCPServerDlg : public BaseDlg
{
	Q_OBJECT

public:
	TCPServerDlg(QWidget* parent = Q_NULLPTR, bool is_child = false);
	~TCPServerDlg();
	bool get_info(ChannelCreateInfo& info) override;
public slots:
	void RecvDataChanged(int index);
	void togglog_sync(bool b);
//signals:
//	void sigDisConnect(const ConnInfo& preInfo, const ConnInfo& info);
//	void sigConnInfo(const ConnInfo& curInfo, const ConnInfo& preInfo, bool bNew);

//private slots:
//	void slotCheck();
//	void slotApply();
private:
	Ui::TCPServerDlg ui;
	QWidget content;
	bool m_bNewConnInfo;
};
